<template>
    <div class="top">
        <div><img src="@/assets/images/logo.png" alt="" class="img" /></div>
        <div class="nav" @click="drawer = true">
            <img src="@/assets/images/menu.png" alt="" />
        </div>
        <el-drawer v-model="drawer" title="I am the title" size="35vw" :with-header="false" :direction="'ttb'">
            <div class="top">
                <div class="a">
                    <div><img src="@/assets/images/logo.png" alt="" class="img" /></div>
                    <div class="nav" @click="drawer = false">
                        <img src="@/assets/images/close.png" alt="" />
                    </div>
                </div>
            </div>
            <div class="menu">
                <div @click="navigate('/indexiphone')">首页</div>
                <div @click="navigate('/etciphone')">ETC</div>
                <div @click="navigate('/streamingiphone')">流媒体后视镜</div>
            </div>
        </el-drawer>

    </div>
    <div class="container">
        <div class="banner">
            <div class="title">
                ETC
            </div>
            <div class="text">
                物理按键 | 全国畅行95折
            </div>
            <!-- <img src="@/assets/images/banner_etc_iphone.png" alt=""> -->
        </div>
        <div class="time">
            <div class="time_item">
                <div class="timename">
                    5年
                    <img src="@/assets/images/add.png" alt="">
                </div>
                <div class="text">深耕ETC服务领域</div>
                <div class="yw">Deeply cultivate the ETC service field</div>
            </div>
            <div class="time_item">
                <div class="timename">
                    1w
                    <img src="@/assets/images/add.png" alt="" />
                </div>
                <div class="text">平台月均订单量</div>
                <div class="yw">Monthly average order quantity</div>
            </div>
            <div class="time_item">
                <div class="timename">
                    50w
                    <img src="@/assets/images/add.png" alt="" />
                </div>
                <div class="text">服务全国ETC用户数</div>
                <div class="yw">Number of ETC users</div>
            </div>
            <div class="time_item">
                <div class="timename">
                    100w
                    <img src="@/assets/images/add.png" alt="" />
                </div>
                <div class="text">平台每月访问量</div>
                <div class="yw">Monthly visits</div>
            </div>
        </div>
        <div class="banner_bottom">
            <div class="item">
                <div class="img"> <img src="@/assets/images/quality.png" alt="" /></div>
                <div class="title">质量优势</div>
                <div class="text">原厂ETC对车系有更好的适配性，产品质量过硬。配备了更好的信号源，通行效率更高。</div>
            </div>
            <div class="item">
                <div class="img"> <img src="@/assets/images/discount.png" alt="" /></div>
                <div class="title">折扣优势</div>
                <div class="text">可通行全国高速ETC车通，通行费均可享受95折优惠。</div>
            </div>
            <div class="item">
                <div class="img"> <img src="@/assets/images/serve.png" alt="" /></div>
                <div class="title">服务优势</div>
                <div class="text">配备了一对一专属客服进行线上激活指引，售后无优</div>
            </div>
        </div>
        <div class="record">
            <div class="adress">
                <div class="pb">
                    <span class="tltle">办公地点</span><span class="copy">广州市白云区元下底路1号17栋101房</span>
                </div>
                <div class="img">
                    <div><img src="http://yxyt.oss-cn-hangzhou.aliyuncs.com/ghac/qrcore.jpg" alt="" /></div>
                    <div class="gzh">微信公众号</div>
                </div>
                <div class="center">
                    Copyright © 2024 广州车易行科技发展有限公司 <span @click="goToBeianSite">粤ICP备20024691号-14</span>
                </div>
            </div>
        </div>
    </div>

</template>

<script setup>
import { ref } from 'vue'
import { useRouter } from "vue-router";
const drawer = ref(false)
const router = useRouter();
const navigate = (p) => {
    router.push(p);
    window.scrollTo(0, 0);
};
const goToBeianSite = () => {
    window.open('https://beian.miit.gov.cn/', '_blank');
}
</script>

<style lang="scss" scoped>
.container {
    height: auto;
    width: 100%;
    background-color: #D4E1F4;
}

.top {
    height: 179px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 73px;
    position: fixed;
    width: 100vw;
    background-color: #fff;
    box-sizing: border-box;
    z-index: 999;

    .img {
        height: 62px;
    }

    .nav {
        display: flex;

        img {
            height: 62px;
        }
    }

    .a {
        border-bottom: 1px solid #e5e5e5;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 40px 0
    }

    .menu {
        padding: 0 73px;
        padding-top: 179px;

        div {
            font-size: 50px;
            border-bottom: 1px solid #e5e5e5;
            padding: 40px 0;
        }

    }

}

.banner {
    background: url(http://yxyt.oss-cn-hangzhou.aliyuncs.com/ghac/banner.png) no-repeat;
    padding-top: 179px;
    box-sizing: border-box;
    background-size: cover;
    height: 865px;
    display: flex;
    flex-direction: column;
    padding-left: 154px;
    justify-content: center;

    .title {
        font-size: 200px;
        font-weight: bold;
        color: #EAEDED;
    }

    .text {
        font-size: 84px;
        color: #EAEDED;
        font-weight: bold;
    }

    img {
        height: 1044px;
        width: 100%;
    }
}

.time {
    background-color: #D4E1F4;
    height: 3340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    .time_item {
        height: 664px;
        width: 1137px;
        background-color: #eaeded;
        padding: 40px;
        box-sizing: border-box;

        .timename {
            display: flex;
            color: #126EF9;
            font-weight: bold;
            font-size: 204px;
            margin-bottom: 28px;

            img {
                width: 60px;
                height: 60px;
            }
        }

        .text {
            font-size: 116px;
            font-weight: bold;
            color: #333;
            margin-bottom: 18px;
        }

        .yw {
            font-size: 50px;
            color: #999999;
        }
    }

}

.banner_bottom {
    background: url(http://yxyt.oss-cn-hangzhou.aliyuncs.com/ghac/.png) no-repeat;
    background-size: cover;
    height: 4854px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    .item {
        width: 1037px;
        height: 1288px;
        background-color: #fff;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        padding: 123px 75px;
        box-sizing: border-box;
        border-radius: 16px;

        .img {
            img {
                width: 449px;
                height: 476px;
            }
        }

        .title {
            font-size: 96px;
            font-weight: bold;
            color: #126EF9;
            border-bottom: 1px dashed #126EF9;
            padding-bottom: 60px;
        }

        .text {
            font-size: 65px;
            line-height: 110px;
            width: 854px;
            margin-top: 40px;
        }
    }
}

.record {
    .adress {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        .pb{
            padding-bottom: 20px
        }
        .tltle {
            color: #000000;
            font-size: 30px;
            margin-right: 20px;
        }

        .copy {
            color: #999;
            font-size: 30px;
        }
    }

    .img {
        img {
            width: 300px;
            height: 300px;
        }

        .gzh {
            text-align: center;
            font-size: 30px;
        }
    }

    .center {
        font-size: 30px;
        padding: 50px 0;
    }
}
</style>